package com.changgou.search.service;

import com.changgou.goods.pojo.Sku;
import com.changgou.search.SkuInfo;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface EsManagerService  {
    /*
     * 创建索引库结构
     */
    public void createIndexAndMapping();
    /*
      根据spuid 将数据导入索引库
     */
    void importDataToESBySpuId(String spuId);

     /*
      根据spu的删除索引库sku
      */
     void delDataToESBySpuId(String spuId);
}
